package cn.usian.service;

import cn.usian.common.R;
import cn.usian.entity.Category;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import java.util.List;

public interface CategoryService {
    R<Page> page(int page, int pageSize);

    void save(Category category);

    void del(Long id);

    void updatecategory(Category category);

    List<Category> findAll();


    R<List<Category>> findByList(Integer type);
}
